package LogicSide;

import java.util.List;

public interface ClientInterface {
	
	/**
	 * add the song with the identifier id to the client's playlist
	 * @param songID - the identifier of the song
	 * @return 1 if success or 0 if fail
	 */
	public int addToPlayList(int songID, int playListID);
	
	
	/**
	 * add all the song with the identifier listed in the list to the client's playlist
	 * @param songsID - the identifier of the song
	 * @return 1 if success or 0 if fail
	 */
	public int addToPlayList(List<Integer> songsID, int playListID);
	
	/**
	 * remove the song with the identifier id from the client's playlist
	 * @param songID - the identifier of the song
	 * @return 1 if success or 0 if fail
	 */
	public int removeFromPlayList(int songID, int playListID);
	
	
	/**
	 * remove all the song with the identifier listed in the list list from the client's playlist
	 * @param songsID - the identifier of the song
	 * @return 1 if success or 0 if fail
	 */
	public int removeFromPlayList(List<Integer> songsID, int playListID);
	
	/**
	 * a song's name the client is looking for 
	 * @param input
	 * @return 1 if success or 0 if fail
	 */
	public int search(String input);
	
	public int openPlayList(int playListID);
}
